package org.ruoyi.gathe.domain.bo;


import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.ruoyi.common.core.validate.EditGroup;
import org.ruoyi.common.mybatis.core.domain.BaseEntity;
import org.ruoyi.gathe.domain.GatheTableColumn;

/**
 * 采集字段业务对象 gathe_table_column
 *
 * @author bz_huaYal9146
 * @date 2025-11-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = GatheTableColumn.class, reverseConvertGenerate = false)
public class GatheTableColumnBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 采集主表ID
     */
    private Long gatheTableId;

    /**
     * 本地字段名
     */
    private String gatheColumn;

    /**
     * 字段中文名
     */
    private String gatheColumnName;

    /**
     * 远端字段名
     */
    private String gatheColumnFar;

    /**
     * 是否主键（1是；0否）
     */
    private String isPk;


}
